package com.ruoyi.web.controller.littleRedBook;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.littleRedBook.domain.pojo.ReceiveRecord;
import com.ruoyi.littleRedBook.service.ReceiveRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 领取记录表 前端控制器
 * </p>
 *
 * @author
 * @since
 */
@RestController
@RequestMapping("/api/receiveRecord")
public class ReceiveRecordController {
    @Autowired
    private ReceiveRecordService receiveRecordService;

    /*
    * 列表查询
    * */
    @GetMapping("/list")
    private AjaxResult list(@RequestBody ReceiveRecord receiveRecord){
        return AjaxResult.success(receiveRecordService.list(receiveRecord));
    }


}
